import request from '@/utils/request'

// 查询差异登记列表
export function listExcept(query) {
  return request({
    url: '/system/except/list',
    method: 'get',
    params: query
  })
}

// 查询差异登记详细
export function getExcept(id) {
  return request({
    url: '/system/except/' + id,
    method: 'get'
  })
}

// 新增差异登记
export function addExcept(data) {
  return request({
    url: '/system/except',
    method: 'post',
    data: data
  })
}

// 修改差异登记
export function updateExcept(data) {
  return request({
    url: '/system/except',
    method: 'put',
    data: data
  })
}

// 删除差异登记
export function delExcept(id) {
  return request({
    url: '/system/except/' + id,
    method: 'delete'
  })
}
// 入库单、出库单查询
export function listputStorage(query) {
  return request({
    url: '/system/except/rkList/',
    method: 'get',
    params: query
  })
}